namespace NGIS.Model
{
	public struct ModelUserContact
	{
		public EContactType Type;

		public string Value;

		public ModelUserContact(EContactType type, string value)
		{
			Type = type;
			Value = value;
		}

		public static bool operator ==(ModelUserContact mucA, ModelUserContact mucB)
		{
			if (mucA.Type == mucB.Type && mucA.Value == mucB.Value)
			{
				return true;
			}
			return false;
		}

		public static bool operator !=(ModelUserContact mucA, ModelUserContact mucB)
		{
			return !(mucA == mucB);
		}
	}
}
